home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaasssskkkkiiiillllllllaaaasssshhhh____aaaarrrrrrrraaaayyyy((((3333xxxx)))) aaaasssskkkkiiiillllllllaaaasssshhhh____aaaarrrrrrrraaaayyyy((((3333xxxx))))
-
-
-
- NNNNAAAAMMMMEEEE
- askillash_array, askillash_local, askillash_server - send a signal to an
- array session
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<aaaarrrrrrrraaaayyyyssssvvvvccccssss....hhhh>>>>
-
- iiiinnnntttt aaaasssskkkkiiiillllllllaaaasssshhhh____aaaarrrrrrrraaaayyyy((((aaaasssssssseeeerrrrvvvveeeerrrr____tttt SSSSeeeerrrrvvvveeeerrrr,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****AAAArrrrrrrraaaayyyyNNNNaaaammmmeeee,,,,
- aaaasssshhhh____tttt AAAASSSSHHHH,,,, iiiinnnntttt SSSSiiiigggg))));;;;
- iiiinnnntttt aaaasssskkkkiiiillllllllaaaasssshhhh____llllooooccccaaaallll((((aaaasssshhhh____tttt AAAASSSSHHHH,,,, iiiinnnntttt SSSSiiiigggg))));;;;
- iiiinnnntttt aaaasssskkkkiiiillllllllaaaasssshhhh____sssseeeerrrrvvvveeeerrrr((((aaaasssssssseeeerrrrvvvveeeerrrr____tttt SSSSeeeerrrrvvvveeeerrrr,,,, aaaasssshhhh____tttt AAAASSSSHHHH,,,, iiiinnnntttt SSSSiiiigggg))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _a_s_k_i_l_l_a_s_h__a_r_r_a_y, _a_s_k_i_l_l_a_s_h__l_o_c_a_l, and _a_s_k_i_l_l_a_s_h__s_e_r_v_e_r functions all
- send a signal to each of the processes that belong to the array session
- specified by the array session handle AAAASSSSHHHH at the moment the function is
- executed. The signal that is to be sent is specified by SSSSiiiigggg and is
- either one from the list given in _s_i_g_n_a_l(2), or 0. If SSSSiiiigggg is 0 (the null
- signal), error checking is performed but no signals are actually sent.
- This can be used to check the validity of AAAASSSSHHHH.
-
- The real or effective user ID of the sending process must match the real,
- saved, or effective user ID of the receiving processes, unless the
- effective user ID of the sending process is superuser.
-
- For _a_s_k_i_l_l_a_s_h__a_r_r_a_y and _a_s_k_i_l_l_a_s_h__s_e_r_v_e_r, the SSSSeeeerrrrvvvveeeerrrr argument specifies
- an optional array server token, which can be used to direct the request
- to a specific array services daemon. If NULL is specified instead, the
- request will be processed by the default array services daemon (see
- _a_r_r_a_y(1) for more information on how the default array services daemon is
- selected). For more details on creating an array server token, see
- _a_s_o_p_e_n_s_e_r_v_e_r(3X).
-
- _a_s_k_i_l_l_a_s_h__a_r_r_a_y will send a signal to the members of the specified array
- session on each of the machines in the array specified by AAAArrrrrrrraaaayyyyNNNNaaaammmmeeee, or
- the default array if AAAArrrrrrrraaaayyyyNNNNaaaammmmeeee is NULL. The operation will be
- coordinated by the array services daemon specified by the server token
- SSSSeeeerrrrvvvveeeerrrr.
-
- _a_s_k_i_l_l_a_s_h__l_o_c_a_l will only send a signal to the members of the specified
- array session that are running on the same machine as the one that
- executes _a_s_k_i_l_l_a_s_h__l_o_c_a_l. Unlike _a_s_k_i_l_l_a_s_h__a_r_r_a_y and _a_s_k_i_l_l_a_s_h__s_e_r_v_e_r,
- this function does not require the array services daemon (_a_r_r_a_y_d).
-
- _a_s_k_i_l_l_a_s_h__s_e_r_v_e_r will only send a signal to the members of the specified
- array session that are running on the machine specified with the server
- token SSSSeeeerrrrvvvveeeerrrr.
-
- All three functions will fail if one or more of the following are true:
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaasssskkkkiiiillllllllaaaasssshhhh____aaaarrrrrrrraaaayyyy((((3333xxxx)))) aaaasssskkkkiiiillllllllaaaasssshhhh____aaaarrrrrrrraaaayyyy((((3333xxxx))))
-
-
-
- * SSSSiiiigggg is not a valid signal number
-
- * SSSSiiiigggg is SIGKILL and the specified array session contains process 1
-
- * The user ID of the sending process is not superuser, and its real or
- effective user ID does not match the real, saved, or effective user ID
- of the receiving processes
-
- * The array services daemon (_a_r_r_a_y_d) is not currently active (not
- applicable for _a_s_k_i_l_l_a_s_h__l_o_c_a_l)
-
- If one or more of these conditions apply only to a subset of the
- processes in an array session, it is undefined whether or not these
- functions will complete for some or all of processes that are _n_o_t
- affected.
-
- These functions are _n_o_t atomic with respect to process creation. As a
- result, it is possible that a new process could join the array session
- after the signalling operation has started but before it has completed
- and consequently never receive the signal itself.
-
- NNNNOOOOTTTTEEEESSSS
- All of these functions are found in the library "libarray.so", and will
- be loaded if the option "-larray" is used with _c_c(1) or _l_d(1).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- kill(2), aserrorcode(3X), askillpid_server(3X), asopenserver(3X),
- array_sessions(5).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, a value of 0 is returned. Otherwise, a value
- of -1 is returned and _a_s_e_r_r_o_r_c_o_d_e(3x) is set accordingly.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-